<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }

        body{
            perspective: 800px;
        }

        .clock{
            width: 300px;
            height: 300px;
            background-color: #fff;
            margin: 0 auto;
            margin-top: 100px;
            border-radius: 50%;
            border: 10px solid black;
            position: relative;

            background-image: url("../exercise/img/clock.jpg");
            background-size: cover;
        }

        .clock > div{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }

        .hour-wrapper{
            width: 60%;
            height: 60%;
            
            animation: run 216000s infinite forwards;
        }

        .hour{
            width: 8px;
            height: 50%;
            background-color: red;
            margin: 0 auto;
        }

        .min-wrapper{
            width: 80%;
            height: 80%;

            animation: run 3600s infinite steps(60);
        }

        .min{
            width: 6px;
            height: 50%;
            background-color: blue;
            margin: 0 auto;
        }

        .sec-wrapper{
            width: 95%;
            height: 95%;

            animation: run 60s infinite steps(60);
        }

        .sec{
            width: 4px;
            height: 50%;
            background-color: orange;
            margin: 0 auto;
        }

        @keyframes run{
            0%{transform: rotateZ(0deg);}
            100%{transform: rotateZ(360deg);}
        }
    </style>
</head>
<body>
    <div class="clock">
        <div class="hour-wrapper">
            <div class="hour"></div>
        </div>

        <div class="min-wrapper">
            <div class="min"></div>
        </div>

        <div class="sec-wrapper">
            <div class="sec"></div>
        </div>
    </div>
</body>
</html>